//
//  UIImage+FCSRResizeImage.h
//  FCBaseKit
//
//  Created by mac on 2021/3/12.
//  Copyright © 2021 Summer. All rights reserved.
//

#import <UIKit/UIKit.h>
#import <Accelerate/Accelerate.h>


NS_ASSUME_NONNULL_BEGIN

@interface UIImage (FCSRResizeImage)

//缩放图片比例
- (UIImage *)telescopicImageToSize:(CGSize) size;

/**
 *  对图片进行模糊
 *
 *  @param image 要处理图片
 *  @param blur  模糊系数 (0.0-1.0)
 *
 *  @return 处理后的图片
 */
- (UIImage *)blurryImage:(UIImage *)image withBlurLevel:(CGFloat)blur ;

@end

NS_ASSUME_NONNULL_END
